<div class="phongtraokhoas view">
<h2><?php  __('Phongtraokhoa');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $phongtraokhoa['Phongtraokhoa']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Khoa'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($phongtraokhoa['Khoa']['id'], array('controller' => 'khoas', 'action' => 'view', $phongtraokhoa['Khoa']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Cap'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($phongtraokhoa['Cap']['id'], array('controller' => 'caps', 'action' => 'view', $phongtraokhoa['Cap']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Loaiphongtrao'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($phongtraokhoa['Loaiphongtrao']['id'], array('controller' => 'loaiphongtraos', 'action' => 'view', $phongtraokhoa['Loaiphongtrao']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Tenphongtrao'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $phongtraokhoa['Phongtraokhoa']['tenphongtrao']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ngaybatdau'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $phongtraokhoa['Phongtraokhoa']['ngaybatdau']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ngayketthuc'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $phongtraokhoa['Phongtraokhoa']['ngayketthuc']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Thanhtich'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $phongtraokhoa['Phongtraokhoa']['thanhtich']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ghichu'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $phongtraokhoa['Phongtraokhoa']['ghichu']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Phongtraokhoa', true), array('action' => 'edit', $phongtraokhoa['Phongtraokhoa']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Delete Phongtraokhoa', true), array('action' => 'delete', $phongtraokhoa['Phongtraokhoa']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $phongtraokhoa['Phongtraokhoa']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Phongtraokhoas', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Phongtraokhoa', true), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Khoas', true), array('controller' => 'khoas', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Khoa', true), array('controller' => 'khoas', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Caps', true), array('controller' => 'caps', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Cap', true), array('controller' => 'caps', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Loaiphongtraos', true), array('controller' => 'loaiphongtraos', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Loaiphongtrao', true), array('controller' => 'loaiphongtraos', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Thanhtichkhoacbs', true), array('controller' => 'thanhtichkhoacbs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Thanhtichkhoacb', true), array('controller' => 'thanhtichkhoacbs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Thanhtichkhoasvs', true), array('controller' => 'thanhtichkhoasvs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Thanhtichkhoasv', true), array('controller' => 'thanhtichkhoasvs', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php __('Related Thanhtichkhoacbs');?></h3>
	<?php if (!empty($phongtraokhoa['Thanhtichkhoacb'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Phongtraokhoa Id'); ?></th>
		<th><?php __('Canbo Id'); ?></th>
		<th><?php __('Thanhtichkhoacb'); ?></th>
		<th><?php __('Ghichu'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($phongtraokhoa['Thanhtichkhoacb'] as $thanhtichkhoacb):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $thanhtichkhoacb['id'];?></td>
			<td><?php echo $thanhtichkhoacb['phongtraokhoa_id'];?></td>
			<td><?php echo $thanhtichkhoacb['canbo_id'];?></td>
			<td><?php echo $thanhtichkhoacb['thanhtichkhoacb'];?></td>
			<td><?php echo $thanhtichkhoacb['ghichu'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'thanhtichkhoacbs', 'action' => 'view', $thanhtichkhoacb['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'thanhtichkhoacbs', 'action' => 'edit', $thanhtichkhoacb['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'thanhtichkhoacbs', 'action' => 'delete', $thanhtichkhoacb['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $thanhtichkhoacb['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Thanhtichkhoacb', true), array('controller' => 'thanhtichkhoacbs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Thanhtichkhoasvs');?></h3>
	<?php if (!empty($phongtraokhoa['Thanhtichkhoasv'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Sinhvien Id'); ?></th>
		<th><?php __('Phongtraokhoa Id'); ?></th>
		<th><?php __('Thanhtichkhoasv'); ?></th>
		<th><?php __('Ghichu'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($phongtraokhoa['Thanhtichkhoasv'] as $thanhtichkhoasv):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $thanhtichkhoasv['id'];?></td>
			<td><?php echo $thanhtichkhoasv['sinhvien_id'];?></td>
			<td><?php echo $thanhtichkhoasv['phongtraokhoa_id'];?></td>
			<td><?php echo $thanhtichkhoasv['thanhtichkhoasv'];?></td>
			<td><?php echo $thanhtichkhoasv['ghichu'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'thanhtichkhoasvs', 'action' => 'view', $thanhtichkhoasv['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'thanhtichkhoasvs', 'action' => 'edit', $thanhtichkhoasv['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'thanhtichkhoasvs', 'action' => 'delete', $thanhtichkhoasv['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $thanhtichkhoasv['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Thanhtichkhoasv', true), array('controller' => 'thanhtichkhoasvs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
